package edu.mse.camel.client.posterboard.ui.adapters;

import org.eclipse.gef.EditPart;
import org.eclipse.gef.EditPartFactory;

import edu.mse.camel.client.posterboard.posterboard.PBDiagram;
import edu.mse.camel.client.posterboard.ui.editor.PosterBoardModelManager;

public interface IToolAdapter {

	public EditPart getAdaptedDiagramEditpart(PBDiagram model);

	public EditPartFactory getEditPartFactory(String diagramType);

	public EditPartFactory getEditPartFactory(EditPart context);

	public boolean shouldSetDelegate(EditPart context, EditPartFactory delegate);

	public void initialize(PosterBoardModelManager pbModelManager);
	
	public boolean isSupported(String diagramType);
	
}